<template>
  <div class="menu">
    <div class="menu_div">
      目录
      <ul>
        <li> <label for="" class="all"><a>全站总览</a></label></li>
      </ul>
      <ul>
        <li>
          <label for="">安防系统</label>
          <dl>
            <dd><a>周界系统界面</a></dd>
            <dd><a>门禁系统界面</a></dd>
            <dd><a>巡更系统界面</a></dd>
            <dd><a>实时视频浏览</a></dd>
            <dd><a>入侵探测报警界面</a></dd>
          </dl>
        </li>
      </ul>
      <ul>
        <li>
          <label for="">实时告警</label>
          <dl>
            <dd><a>实时告警界面</a></dd>
          </dl>
        </li>
      </ul>
    </div>
  </div>
  <!-- <div class="hello">
    <h1>{{ msg }}</h1>
    <p>
      For a guide and recipes on how to configure / customize this project,<br>
      check out the
      <a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
    </p>
    <h3>Installed CLI Plugins</h3>
    <ul>
      <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
      <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-router" target="_blank" rel="noopener">router</a></li>
      <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-vuex" target="_blank" rel="noopener">vuex</a></li>
    </ul>
    <h3>Essential Links</h3>
    <ul>
      <li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
      <li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
      <li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
      <li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
      <li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
    </ul>
    <h3>Ecosystem</h3>
    <ul>
      <li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
      <li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
      <li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
      <li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
      <li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
    </ul>
  </div> -->
</template>

<script>
export default {
  name: "SideMenu",
  props: {
    msg: String,
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">
.menu{ position: fixed; left: 10px; width: 200px; background: rgba(0,0,0,.1);
border: 1px solid#2563b0; box-sizing: border-box;
 height: calc(100vh - 10vw); top: 7vw; overflow: auto; color: #fff;}
 .menu .menu_div{ width: 100%; font-weight: bold;}
 .menu .menu_div ul{ background:#192f61; text-align: left; font-size: 14px; width: 100%;}
 .menu .menu_div ul li{ border-bottom: 1px solid #2563b0; width: 100%; margin: 0;}
 .menu .menu_div ul li label{ height: 46px; line-height: 46px; display: block; border-bottom: 1px solid #2563b0;
   width: 100%;padding-left: 10px; box-sizing:border-box;}
   .menu .menu_div ul li label.all{ cursor: pointer;}
   .menu .menu_div ul li label.all a:hover{ color: #b7ccfc;}

 .menu .menu_div ul li dl{ background: #0e2251;}
 .menu .menu_div ul li dl dd{height: 46px; line-height: 46px;  border-bottom: 1px solid #2563b0;padding-left: 20px; 
  box-sizing:border-box; color: #7ec0fd; cursor: pointer; }
 .menu .menu_div ul li dl dd:last-child( border-bottom:none)
 .menu .menu_div ul li dl dd a{  color: #7ec0fd;}
 .menu .menu_div ul li dl dd a:hover{ color: #b7ccfc;}
 h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}

</style>
